package com.bang.daybreak.common.framework.model;

import com.bang.daybreak.common.framework.model.convert.Convert;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

/**
 * 树节点
 *
 * @author : wdj
 * @since : 2019/4/28 0028 下午 12:02
 * @version 1.0
 */
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class TreeNode extends Convert {

    protected String id;
    protected String parentId;

    protected List<TreeNode> children = new ArrayList<>();
}
